8.5
HIGH CVSS 4.0
CVE-2025-34323
Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules
Description

Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.

INFO

Published Date :

Nov. 17, 2025, 6:15 p.m.

Last Modified :

Nov. 26, 2025, 3:15 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-34323 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Nagios log_server
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 HIGH [email protected]
Solution
Update Nagios Log Server to patch privilege escalation vulnerability. Apply vendor-provided updates immediately.
  • Update Nagios Log Server to version 2026R1.0.1 or later.
  • Apply all vendor security patches and updates.
  • Review sudo rules for unsafe configurations.
  • Ensure file system permissions are properly configured.
Public PoC/Exploit Available at Github

CVE-2025-34323 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-34323.

URL Resource
https://theyhack.me/Rooting-Nagios-Log-Server/
https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ Release Notes
https://www.nagios.com/products/security/#log-server Vendor Advisory
https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-34323 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Proof of Concept exploits for CVE-2025-34322 and CVE-2025-34323 in Nagios Log Server

Python

Updated: 2 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : Nov. 25, 2025, 9:22 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-34323 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-34323 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Nov. 26, 2025

    Action Type Old Value New Value
    Added Reference https://theyhack.me/Rooting-Nagios-Log-Server/
  • CVE Modified by [email protected]

    Nov. 24, 2025

    Action Type Old Value New Value
    Changed Description Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to unsafe interaction between sudo rules and file system permissions. The web server account is granted passwordless sudo access to certain maintenance scripts while also being a member of a group that has write access to the directory containing those scripts. A local attacker running as the web server user can replace one of the permitted scripts with a malicious program and then execute it via sudo, resulting in arbitrary code execution with root privileges. Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.
  • Initial Analysis by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:* versions up to (excluding) 2026 *cpe:2.3:a:nagios:log_server:2026:r1:*:*:*:*:*:*
    Added Reference Type VulnCheck: https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/ Types: Release Notes
    Added Reference Type VulnCheck: https://www.nagios.com/products/security/#log-server Types: Vendor Advisory
    Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules Types: Third Party Advisory
  • New CVE Received by [email protected]

    Nov. 17, 2025

    Action Type Old Value New Value
    Added Description Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to unsafe interaction between sudo rules and file system permissions. The web server account is granted passwordless sudo access to certain maintenance scripts while also being a member of a group that has write access to the directory containing those scripts. A local attacker running as the web server user can replace one of the permitted scripts with a malicious program and then execute it via sudo, resulting in arbitrary code execution with root privileges.
    Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-732
    Added Reference https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
    Added Reference https://www.nagios.com/products/security/#log-server
    Added Reference https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.5
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact